package com.fang.mmy.service;

import org.springframework.cloud.gateway.route.RouteDefinition;

/**
 * @ClassName RouteService
 * @Author kebukeyi
 * @Date 2022/8/7 19:00
 * @Description 路由配置服务
 * @Version 1.0.0
 */
public interface RouteService {

    /**
     * 更新路由配置
     *
     * @param routeDefinition
     */
    void update(RouteDefinition routeDefinition);

    /**
     * 添加路由配置
     *
     * @param routeDefinition
     */
    void add(RouteDefinition routeDefinition);

}
